package hibernate.domain;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.PrimaryKeyJoinColumn;

@Entity
@javax.persistence.Table(name = "CREDIT_CARD")
@PrimaryKeyJoinColumn(name = "CREDIT_CARD_ID")
public class CreditCard extends BillingDetails {
	@Column(name = "NUMBER")
	private String number;
	@Column(name = "owner")
	private String owner;

	public String getNumber() {return number;}
	public void setNumber(String number) {this.number = number;}
	public String getOwner() {return owner;}
	public void setOwner(String owner) {this.owner = owner;}

}
